//
//  UIButton+CountDown.h
//  OilUnion
//
//  Created by itte on 2016/12/8.
//  Copyright © 2016年 funmain. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (CountDown)

/**
 * 倒计时按钮
 * @param time     倒计时总时间
 * @param title    还没倒计时的title
 * @param subTitle 倒计时的title
 * @param mColor   还没倒计时的颜色
 * @param color    倒计时中的颜色
 */
-(void)startWithTime:(NSInteger)time
               title:(NSString *)title
            subTitle:(NSString *)subTitle
           mainColor:(UIColor *)mColor
          countColor:(UIColor *)color;
@end
